package lvyou;

public class VisitorO extends Visitor {
    public VisitorO() {
    }

    public VisitorO(int age, String name, double prise) {
        super(age, name, prise);
    }

    @Override
    public double money(double prise) {

        return 1000;
    }

    public void show(){
        System.out.println("姓名:" + this.getName() + ",年龄:" + this.getAge() + ",老人费用减半,本次行程" + this.getPrise() + "元");
    }
}
